package com.ywu.third.exec.standard.exec.impl;

import com.ywu.file.sys.sdk.enter.YwuFileSysExec;
import com.ywu.third.exec.standard.entity.YwuThirdExecEntity;
import com.ywu.third.exec.standard.exec.YwuThirdExecEngine;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @ClassName YwuPython2ExecEngine
 * @Description TODO
 * @Author GroundDemo
 * @Date 2024/10/14 11:17
 * @Version 1.0
 **/
@Component
public class YwuPython2ExecEngine implements YwuThirdExecEngine {

    @Autowired
    private YwuFileSysExec ywuFileSysExec;

    private static final String PYTHON_2_ENGINE_TYPE = "PYTHON2";

    /**
    * @Author GroundDemo
    * @Description 执行类型
    * @Date 9:03 2024/10/16
    * @Param []
    * @return java.lang.String
    **/
    @Override
    public String execType() {
        return PYTHON_2_ENGINE_TYPE;
    }

    /**
    * @Author GroundDemo
    * @Description 执行核心逻辑
    * @Date 9:03 2024/10/16
    * @Param [entity]
    * @return java.lang.Object
    **/
    @Override
    public Object exec(YwuThirdExecEntity entity) {
        return null;
    }
}
